﻿@{
    var currentPath = @Html.ViewContext.HttpContext.Request.Path.Value;
    var workContext = ViewBag.WorkContext as DanaZhangCms.ViewModels.WebWorkContext;
}
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    @*<title>广和·正道律师团队</title>*@
    <title>@Html.Raw(workContext.Sites.SeoTitle)</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <meta name="keywords" content="@Html.Raw(workContext.Sites.SeoKeyword)">
    <meta name="description" content="@Html.Raw(workContext.Sites.SeoDescription)">
    <environment include="Development">
        <link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.css" />
        <link rel="stylesheet" href="~/css/site.css" />
    </environment>
    <environment exclude="Development">
        <link rel="stylesheet" href="https://ajax.aspnetcdn.com/ajax/bootstrap/3.3.7/css/bootstrap.min.css"
              asp-fallback-href="~/lib/bootstrap/dist/css/bootstrap.min.css"
              asp-fallback-test-class="sr-only" asp-fallback-test-property="position" asp-fallback-test-value="absolute" />
        <link rel="stylesheet" href="~/css/site.css" asp-append-version="true" />
    </environment>
    <link rel="stylesheet" href="//at.alicdn.com/t/font_901933_brf2sq413a.css" />
    <!-- <link rel="stylesheet" href="~/css/font-awesome.min.css" /> -->
    @RenderSection("css", required: false)
</head>
<body cz-shortcut-listen="true">
    <div class="header">
        <div class="container">
            <p class="pull-left">
                <a href="/"><img src="@(workContext.Sites.logo)" alt="@(workContext.Sites.webname)"></a>
            </p>
            <div class="mobile-num pull-right">
                @*<i class="iconfont icon-dianhua1"></i>*@
                <span>咨询电话：@Html.Raw(workContext.Sites.webtel)</span>
            </div>
        </div>
    </div>
    <div class="pin-wrapper" style="height: 50px;">
        <nav class="navbar navbar-default navbar-inverse navbar-static-top" role="navigation" style="width: 100%;">
            <div class="container">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
                        <span class="sr-only">Toggle navigation</span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                </div>
                <div id="navbar" class="navbar-collapse collapse">
                    <ul class="nav navbar-nav">
                        @if (currentPath == "/")
                        {
                            <li class="active"><a href="/">首页</a></li>
                        }
                        else
                        {
                            <li><a href="/">首页</a></li>
                        }
                        @if (currentPath == "/about")
                        {
                            <li class="active"><a href="/about">团队介绍</a></li>
                        }
                        else
                        {
                            <li><a href="/about">团队介绍</a></li>
                        }
                        <li><a href="#">成功案例</a></li>
                        <li><a href="#">法律文书</a></li>
                        <li><a href="#">罪名解析</a></li>
                        <li><a href="#">看守所</a></li>
                        <li><a href="#">刑事诉讼</a></li>
                        @if (currentPath == "/contact")
                        {
                            <li class="active"><a href="/contact">联系我们</a></li>
                        }
                        else
                        {
                            <li><a href="/contact">联系我们</a></li>
                        }
                        @foreach(var item in workContext.Content)
                        {
                            @*<li class="@(currentPath.ToLower() == Url.Action("Index", "Content", new {spellname = item.SpellName}).ToLower() ? "active" : "";)">*@
                            <li>
                                <a href="@Url.Action("Index","Content",new { spellname=item.SpellName})" title="@item.Title" class="nav-link ">
                                    @item.Title
                                </a>
                            </li>
                        }
                    </ul>
                </div>
            </div>
        </nav>
    </div>
    @Html.Partial("_Banner.cshtml", workContext)
    <div class="container-fluid">
        <div class="container">
            @RenderBody()
        </div>
    </div>
    <div class="footer">
        <div class="widgets-section">
            <div class="container">
                <div class="row">
                    <!--Big Column-->
                    <div class="big-column col-md-6 col-sm-12 col-xs-12">
                        <div class="row clearfix">
                            <div class="col-md-6 col-sm-6 col-xs-12">
                                <div class="footer-widget about-widget">
                                    <h3>服务电话</h3>
                                    <p class="line"></p>
                                    <h4><span class="iconfont icon-dianhua"></span>&nbsp;0769 - 2288&nbsp;&nbsp;8288</h4>
                                    <h5>&nbsp;&nbsp;&nbsp;（周一至周五 9:00~18:00）</h5>
                                </div>
                            </div>
                            <div class="col-md-6 col-sm-6 col-xs-12">
                                <div class="footer-widget about-widget">
                                    <h3>快速入口</h3>
                                    <p class="line"></p>
                                    <a href="/about"><h5>团队介绍</h5></a>
                                    <a><h5>成功案例</h5></a>
                                    <a><h5>法律文书</h5></a>
                                    <a href="/admin"><h5>管理后台</h5></a>
                                </div>
                            </div>
                        </div>
                    </div>

                    <!--Big Column-->
                    <div class="big-column col-md-6 col-sm-12 col-xs-12">
                        <div class="row clearfix">
                            <div class="col-md-6 col-sm-6 col-xs-12">
                                <div class="footer-widget contact-widget">
                                    <h3>联系我们</h3>
                                    <p class="line"></p>
                                    <ul class="contact-info">
                                        @*<li><span class="iconfont icon-dianhua"></span> 电话：0769-22888288</li>*@
                                        <li><span class="iconfont icon-chuanzhen"></span> 传真：0769-22882936</li>
                                        <li><span class="iconfont icon-dizhi"></span><a href="https://j.map.baidu.com/b93T2" target="_blank">地址：东莞市南城区CBD元美东路三号丰泰大厦16层</a> </li>
                                    </ul>
                                </div>
                            </div>
                            <div class="col-md-6 col-sm-6 col-xs-12">
                                <div class="footer-widget contact-widget">
                                    <h3>官方微信</h3>
                                    <p class="line"></p>
                                    <img style="width: 40%" src="http://www.ghlawyer.net/web/images/wechat.jpg" />
                                </div>
                            </div>
                        </div>
                    </div>

                </div>
            </div>
        </div>
        @*<div class="container">
                @*<p>广东广和（东莞）律师事务所 | GUANGHE</p>
                    <p>电话：0769-22888288</p>
                    <P>传真：0769-22882936</P>
                    <p>地址：东莞市南城区CBD元美东路三号丰泰大厦16层</p>
                    <p>
                        <!-- 广东广和（东莞）律师事务所|GUANGHE，办公地址：东莞市南城区CBD元美东路三号丰泰大厦16层，电话：0769-22888288，传真：0769-22882936  <br> -->
                        <a  href="#"></a>让正义看得见，让辩护有温度。<br>
                        <a  href="#"></a>Copyright 2017 广东广和（东莞）律师事务所版权所有 All Rights Reserved.
                    </p>
                    <p>粤ICP备181016319号-1</p>
                <div class="row">
                    <div class="col-md-6 col-sm-3">
                        <h3>友情链接</h3>
                        <div class="scrollNews"  >
                            <ul id="p1">
                                <li><a href="#" class="tooltip" title="甜美宽松毛衣今秋一定红.">甜美宽松毛衣今秋一定红.</a></li>
                                <li><a href="#" class="tooltip" title="秋装百搭小马甲不到50元.">秋装百搭小马甲不到50元.</a></li>
                                <li><a href="#" class="tooltip" title="修身韩版小西装万人疯抢.">修身韩版小西装万人疯抢.</a></li>
                                <li><a href="#" class="tooltip" title="夏末雪纺店主含泪大甩卖.">夏末雪纺店主含泪大甩卖.</a></li>
                                <li><a href="#" class="tooltip" title="瑞丽都疯狂推荐的秋装.">瑞丽都疯狂推荐的秋装.</a></li>
                                <li><a href="#" class="tooltip" title="48元长款针织小开衫卖疯啦.">48元长款针织小开衫卖疯啦.</a></li>
                                <li><a href="#" class="tooltip" title="长袖雪纺衫单穿内搭都超美.">长袖雪纺衫单穿内搭都超美.</a></li>
                            </ul>
                        </div>
                    </div>
                    <div class="col-md-6 col-sm-3">
                        <h3>联系我们</h3>
                        <div class="container-fluid">
                            <div class="col-md-6">
                                <p>电话：0769-22888288</p>
                                <P>传真：0769-22882936</P>
                            </div>
                            <div class="col-md-6">
                                <img style="width: 35%" src="http://www.ghlawyer.net/web/images/wechat.jpg" />
                            </div>
                        </div>
                        <p>地址：东莞市南城区CBD元美东路三号丰泰大厦16层</p>
                    </div>
                    @*<div class="col-md-4 col-sm-3">
                        <div class="container">
                            <img class="pull-left" style="width: 8%" src="http://www.ghlawyer.net/web/images/wechat.jpg"/>
                            <div class="pull-right">
                                <p>扫一扫</p>
                                <P>联系我们</P>
                            </div>
                        </div>
                    </div>
                </div>
            </div>*@
    </div>
    <div class="footer2">
        <span>@(workContext.Sites.webcrod)</span>
    </div>

    <environment include="Development">
        <script src="~/lib/jquery/dist/jquery.js"></script>
        <script src="~/lib/bootstrap/dist/js/bootstrap.js"></script>
        <script src="~/js/site.js" asp-append-version="true"></script>
    </environment>
    <environment exclude="Development">
        <script src="https://ajax.aspnetcdn.com/ajax/jquery/jquery-3.3.1.min.js"
                asp-fallback-src="~/lib/jquery/dist/jquery.min.js"
                asp-fallback-test="window.jQuery"
                crossorigin="anonymous"
                integrity="sha384-tsQFqpEReu7ZLhBV2VZlAu7zcOV+rXbYlF2cqB8txI/8aZajjp4Bqd+V6D5IgvKT">
        </script>
        <script src="https://ajax.aspnetcdn.com/ajax/bootstrap/3.3.7/bootstrap.min.js"
                asp-fallback-src="~/lib/bootstrap/dist/js/bootstrap.min.js"
                asp-fallback-test="window.jQuery && window.jQuery.fn && window.jQuery.fn.modal"
                crossorigin="anonymous"
                integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa">
        </script>
        <script src="~/js/site.min.js" asp-append-version="true"></script>
    </environment>
    <script type="text/javascript">

        var $this = $(".scrollNews");
        var scrollTimer;
        $this.hover(function () {
            clearInterval(scrollTimer);
        }, function () {
            scrollTimer = setInterval(function () {
                scrollNews($this);
            }, 2000);
        }).trigger("mouseleave");

        function scrollNews(obj) {
            var $self = obj.find("ul");
            var lineHeight = $self.find("li:first").height();
            $self.animate({
                "marginTop": -lineHeight + "px"
            },
                600,
                function () {
                    $self.css({
                        marginTop: 0
                    }).find("li:first").appendTo($self);
                });
        }
    </script>
    @RenderSection("Scripts", required: false)
</body>
</html>
